﻿@model GameSchool.Models.StudentAssignmentsListViewModel
           
@{
    ViewBag.Title = "Student Course | GameSchool";
    Layout = "~/Views/Shared/_LayoutStudent.cshtml";
}

<div class="mainSectionStuff">
<h2>All upcoming Assignments</h2>
<ul>
@foreach(var item in Model.upcomingList)
{
    <li>Name: @item.name,  days left: @item.daysLeft , @item.earnedXP out of @item.totalXP</li>
}   
</ul>
<ul>
@section menu{

    <li>@Html.ActionLink("Courses Overview", "StudentHome", "Student")</li> 
    <li>@Html.ActionLink("Assignment", "ViewAllAssignments", "Assignment", new { CID = Model.courseID }, null)</li>
    <li>@Html.ActionLink("Online Exam", "LevelEdit", "Level", new { CID = Model.courseID }, null)</li>
    <li>@Html.ActionLink("Lecture", "ViewLectureStudent", "Lecture")</li>
    <li>@Html.ActionLink("Description", "CourseDescription", "Course", new { CID = Model.courseID }, null)</li>
    <li>@Html.ActionLink("XP/Achievements", "XPAchievement", "Achievement", new { CID = Model.courseID }, null)</li>
}
</ul>
</div>